<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .father .one {
            font-family:'宋体' ;
            font-size: 30px;
            font-weight: 700;/*设置粗细*/
            font-style: italic;
            color: blue;
            text-align: left;
        }
        .father .two {
            font-family:'宋体' ;
            font-size: 30px;
            font-weight: 700;/*设置粗细*/
            font-style: italic;
            color: rgb(34, 255, 0);
            text-align: center;
        }
        .father .three {
            font-family:'宋体' ;
            font-size: 30px;
            font-weight: 700;/*设置粗细*/
            font-style: italic;
            color: rgb(255, 0, 0);
            text-align: right;
        }

    </style>
</head>
<body class="father">
    <p class="one">设置字体</p>
    <p class="two">设置字体</p>
    <p class="three">设置字体</p>

</body>
</html>
